<!DOCTYPE html>
{% from "macros.html" import cmsmenu %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>cmsindex</title>
    <style>
        h1{
            text-align: center;
        }
        #user_online{
            float: right;
            margin-right: 3px;
        }
        table{
            margin:auto;
        }
    </style>
    <link rel="stylesheet" href="{{ url_for ('static',filename='css/bootstrap.css')}}">
    <link rel="stylesheet" href="{{ url_for ('static',filename='css/flask.css')}}">
</head>
<body>
{{ cmsmenu(post_name,online) }}
<div>
<div id="content">
<div>
    <table border="1" class="table">
    <tr>
        <td>文章id</td>
        <td>作者</td>
        <td>文章内容</td>
        <td>发布时间</td>
        <td>管理员操作</td>
    </tr>
          <tr>
          <td>{{ articleid }}</td>
          <td>{{ username }}</td>
          <td>{{ articlecontent }}</td>
          <td>{{ time }}</td>
          {% set id = articleid|string  %}
          <td><a href="/cmselectarticle_delete/{{ id }}">删除所有记录</a></td>
          </tr>
</table>
</div>
</div>

</body>
</html>